# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-sphinxcontrib-httpdomain
_pkgname=sphinxcontrib-httpdomain
pkgver=1.7.0
pkgrel=1
pkgdesc="Sphinx httpdomain extension"
url="https://pypi.python.org/pypi/sphinxcontrib-httpdomain"
arch="noarch"
license="BSD-2-Clause"
depends="py3-sphinx"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-sphinxcontrib-httpdomain" # for backwards compatibility
provides="py-sphinxcontrib-httpdomain=$pkgver-r$pkgrel" # for backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="132803f60af263a4948108145ac27635da50254eb79dad2c461c4f364b04eb6b28d4917449fae31b792fc8773ce948f1fd20b06b22e167bfb4584dad756c8f17  sphinxcontrib-httpdomain-1.7.0.tar.gz"
